package com.bootdo.storageRack.domain;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * 货架丢失记录表
 *
 * @author chglee
 * @email 1992lcg@163.com
 * @date 2018-02-02 17:41:41
 */
@Entity
@Table(name = "biz_storage_rack_loss_record")
public class StorageRackLossRecordDO implements Serializable {
    private static final long serialVersionUID = 1L;

        //
        @Id
    @GeneratedValue
        @Column(name = "id")
    private Long id;
        //数量
        @Column(name = "quantity")
    private Integer quantity;
        //商品id
        @Column(name = "item_id")
    private Long itemId;
        //进价
        @Column(name = "in_price")
    private BigDecimal inPrice;
        //供应商id
        @Column(name = "vendor_id")
    private Long vendorId;
        //创建时间
        @Column(name = "gtm_create")
    private Date gtmCreate;
        //修改时间
        @Column(name = "gtm_modified")
    private Date gtmModified;
    
        /**
    * 设置：
    */
    public void setId(Long id) {
       this.id = id;
    }

    /**
    * 获取：
    */
    public Long getId() {
            return id;
        }
        /**
    * 设置：数量
    */
    public void setQuantity(Integer quantity) {
       this.quantity = quantity;
    }

    /**
    * 获取：数量
    */
    public Integer getQuantity() {
            return quantity;
        }
        /**
    * 设置：商品id
    */
    public void setItemId(Long itemId) {
       this.itemId = itemId;
    }

    /**
    * 获取：商品id
    */
    public Long getItemId() {
            return itemId;
        }
        /**
    * 设置：进价
    */
    public void setInPrice(BigDecimal inPrice) {
       this.inPrice = inPrice;
    }

    /**
    * 获取：进价
    */
    public BigDecimal getInPrice() {
            return inPrice;
        }
        /**
    * 设置：供应商id
    */
    public void setVendorId(Long vendorId) {
       this.vendorId = vendorId;
    }

    /**
    * 获取：供应商id
    */
    public Long getVendorId() {
            return vendorId;
        }
        /**
    * 设置：创建时间
    */
    public void setGtmCreate(Date gtmCreate) {
       this.gtmCreate = gtmCreate;
    }

    /**
    * 获取：创建时间
    */
    public Date getGtmCreate() {
            return gtmCreate;
        }
        /**
    * 设置：修改时间
    */
    public void setGtmModified(Date gtmModified) {
       this.gtmModified = gtmModified;
    }

    /**
    * 获取：修改时间
    */
    public Date getGtmModified() {
            return gtmModified;
        }
    }
